	
/****** Object:  Stored Procedure CurrencyInsert    Script Date: Tuesday, October 23, 2007 ******/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[spCurrencyInsert]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [spCurrencyInsert]
GO

	
	

/******************************************************************************
**		File: 
**		Name: spCurrencyInsert
**		Desc: 
**
**		Return values:
** 
**		Called by:   
**              
**		Parameters:
**		Input							Output
**     ----------							-----------
**
**		Auth: CodeSmith
**		Date: 10/23/2007 1:02:21 AM
*******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:				Description:
**		--------		--------				-------------------------------------------
**    
*******************************************************************************/
CREATE PROCEDURE spCurrencyInsert
	@Code varchar(3),
	@Description varchar(50),
	@CurrencyID int output
AS

INSERT INTO [Currency] 
(
	[Code],
	[Description]
) 
VALUES 
(
	@Code,
	@Description
)

SELECT @CurrencyID = @@IDENTITY

GO
	
